<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class BuildType extends Model
{
    protected $table = 'build_type';
    use HasFactory;

    protected $fillable = ["name", "name_en", "product_id"];
    public function product()
    {
        return $this->hasMany(Products::class, "build_type_id", "id");
    }
}
